﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReBasic.Model
{
    public class Quad_hrtT : IComparable<Quad_hrtT>
    {
        public int h_idx, t_idx, T_idx, freq;
        public string occPos;
        public double qq;

        public Quad_hrtT(int h, int t, int T, int f, double q, string op)
        {
            h_idx = h; t_idx = t;
            T_idx = T; qq = q; freq = f;
            occPos = op;
        }

        #region IComparable<Quad_hrtT> 成员

        public int CompareTo(Quad_hrtT other)
        {
            return -(qq.CompareTo(other.qq));
        }

        #endregion
    }
}
